//
//  LifeIndexView.m
//  WeatherGuide
//
//  Created by lanou3g on 15/12/17.
//  Copyright © 2015年 李明. All rights reserved.
//

#import "LifeIndexView.h"

@interface LifeIndexView ()

@end

@implementation LifeIndexView

- (instancetype)initWithCoder:(NSCoder *)coder
{
    self = [super initWithCoder:coder];
    if (self) {
        [self allViews];
    }
    return self;
}

- (void)allViews
{
    self.tableView = [[UITableView alloc] initWithFrame:self.bounds style:UITableViewStyleGrouped];
    CGRect rect = self.tableView.frame;
    
    rect.size.height = 500;
    self.tableView.frame = rect;
    self.tableView.scrollEnabled = NO;
    self.backgroundColor = [UIColor clearColor];

    
    [self addSubview:self.tableView];

}


@end
